﻿using AisEncodingLib.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AisEncodingLib.Models
{
	public class AisMessageType5
	{
		/// <summary>
		/// 用户ID
		/// </summary>
		public int Mmsi { get; init; }

		/// <summary>
		/// 消息ID
		/// </summary>
		public int MessageType { get; init; }

		/// <summary>
		/// AIS版本指示符
		/// </summary>
		public int AisVersion { get; init; }

		/// <summary>
		/// 呼号
		/// </summary>
		public string CallSign { get; init; }

		/// <summary>
		/// 目的地
		/// </summary>
		public string Destination { get; init; }

		/// <summary>
		/// 船体尺寸
		/// </summary>
		public int DimensionToBow { get; init; }

		/// <summary>
		/// 船体尺寸
		/// </summary>
		public int DimensionToPort { get; init; }

		/// <summary>
		/// 船体尺寸
		/// </summary>
		public int DimensionToStarboard { get; init; }

		/// <summary>
		/// 船体尺寸
		/// </summary>
		public int DimensionToStern { get; init; }

		/// <summary>
		/// 目前最大静态吃水
		/// </summary>
		public double Draught10thMetres { get; init; }

        /// <summary>
		/// 预计到达时间
		/// </summary>
		public int EtaDay { get; init; }

		/// <summary>
		/// 预计到达时间
		/// </summary>
		public int EtaHour { get; init; }

		/// <summary>
		/// 预计到达时间
		/// </summary>
		public int EtaMinute { get; init; }

		/// <summary>
		/// 预计到达时间
		/// </summary>
		public int EtaMonth { get; init; }

		/// <summary>
		/// DTE（True:可用，False:不可用）
		/// </summary>
		public bool IsDteNotReady { get; init; }

		/// <summary>
		/// 呼号
		/// </summary>
		public int ImoNumber { get; init; }

		/// <summary>
		/// 电子定位装置的类型
		/// </summary>
		public EpfdFixType PositionFixType { get; init; }

		/// <summary>
		/// 重复指示器
		/// </summary>
		public int RepeatIndicator { get; init; }

		/// <summary>
		/// 船舶和货物类型
		/// </summary>
		public ShipType ShipType { get; init; }

		/// <summary>
		/// 船名
		/// </summary>
		public string VesselName { get; init; }
	}
}
